body {
    font-family: Arial, sans-serif;
    padding: 20px;
    margin: 0;
}

h1 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    text-align: center;
}

.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.filters input,
.filters select,
.filters button {
    padding: 10px;
    font-size: 1rem;
    width: 100%;
    max-width: 200px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    overflow-x: auto;
}

th,
td {
    padding: 10px;
    text-align: left;
    border: 1px solid #ccc;
}

th {
    background-color: #f4f4f4;
}

img {
    max-width: 40px;
    height: auto;
}

#pagination {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 5px;
    flex-wrap: wrap;
}

#pagination button {
    padding: 8px 12px;
    font-size: 1rem;
    cursor: pointer;
}

@media (max-width: 768px) {

    table,
    thead,
    tbody,
    th,
    td,
    tr {
        display: block;
    }

    thead {
        display: none;
    }

    tr {
        margin-bottom: 15px;
        border: 1px solid #ccc;
        border-radius: 5px;
        padding: 10px;
        background: #fafafa;
    }

    td {
        display: flex;
        justify-content: space-between;
        padding: 8px 0;
        border: none;
        border-bottom: 1px solid #eee;
    }

    td:last-child {
        border-bottom: none;
    }

    td::before {
        content: attr(data-label);
        font-weight: bold;
        margin-right: 10px;
        color: #333;
    }
}